.class public abstract Les/py;
.super Les/my;
.source "BottomMenu.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Les/py$f;
    }
.end annotation


# instance fields
.field private m:Landroid/util/SparseArray;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroid/util/SparseArray<",
            "Les/py$f;",
            ">;"
        }
    .end annotation
.end field

.field protected n:[Ljava/lang/String;

.field private o:I

.field protected final p:Ljava/lang/String;

.field private q:I

.field private r:Z

.field protected s:Z

.field private t:Les/v00;

.field private u:Les/v00;

.field private v:Les/iz;

.field private w:Landroid/view/View$OnClickListener;

.field private x:Landroid/view/View$OnLongClickListener;


# direct methods
.method public constructor <init>(Landroid/content/Context;Z)V
    .locals 1

    const/4 v0, 0x1

    .line 22
    invoke-direct {p0, p1, p2, v0}, Les/py;-><init>(Landroid/content/Context;ZZ)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;ZZ)V
    .locals 2

    .line 1
    invoke-direct {p0, p1, p2}, Les/my;-><init>(Landroid/content/Context;Z)V

    .line 2
    new-instance p1, Landroid/util/SparseArray;

    invoke-direct {p1}, Landroid/util/SparseArray;-><init>()V

    iput-object p1, p0, Les/py;->m:Landroid/util/SparseArray;

    const/4 p1, 0x0

    .line 3
    iput p1, p0, Les/py;->o:I

    const-string p2, "extra"

    .line 4
    iput-object p2, p0, Les/py;->p:Ljava/lang/String;

    const/4 p2, -0x1

    .line 5
    iput p2, p0, Les/py;->q:I

    .line 6
    iput-boolean p1, p0, Les/py;->r:Z

    const/4 p1, 0x1

    .line 7
    iput-boolean p1, p0, Les/py;->s:Z

    .line 8
    new-instance p1, Les/v00;

    const p2, 0x7f1103e7

    const v0, 0x7f0809ae

    invoke-direct {p1, v0, p2}, Les/v00;-><init>(II)V

    new-instance v1, Les/py$a;

    invoke-direct {v1, p0}, Les/py$a;-><init>(Les/py;)V

    .line 9
    invoke-virtual {p1, v1}, Les/v00;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Les/v00;

    iput-object p1, p0, Les/py;->t:Les/v00;

    .line 10
    new-instance p1, Les/v00;

    invoke-direct {p1, v0, p2}, Les/v00;-><init>(II)V

    new-instance p2, Les/py$b;

    invoke-direct {p2, p0}, Les/py$b;-><init>(Les/py;)V

    .line 11
    invoke-virtual {p1, p2}, Les/v00;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Les/v00;

    iput-object p1, p0, Les/py;->u:Les/v00;

    .line 12
    new-instance p1, Les/py$c;

    invoke-direct {p1, p0}, Les/py$c;-><init>(Les/py;)V

    iput-object p1, p0, Les/py;->w:Landroid/view/View$OnClickListener;

    .line 13
    new-instance p1, Les/py$d;

    invoke-direct {p1, p0}, Les/py$d;-><init>(Les/py;)V

    iput-object p1, p0, Les/py;->x:Landroid/view/View$OnLongClickListener;

    .line 14
    invoke-virtual {p0}, Les/py;->h()V

    .line 15
    iput-boolean p3, p0, Les/py;->s:Z

    .line 16
    iget-object p1, p0, Les/my;->f:Lcom/estrongs/android/ui/theme/b;

    const p2, 0x7f0602d9

    invoke-virtual {p1, p2}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result p1

    .line 17
    iget-boolean p2, p0, Les/py;->s:Z

    if-nez p2, :cond_1

    .line 18
    iget-object p2, p0, Les/my;->f:Lcom/estrongs/android/ui/theme/b;

    invoke-virtual {p2}, Lcom/estrongs/android/ui/theme/b;->k()Z

    move-result p2

    if-nez p2, :cond_0

    .line 19
    iget-object p1, p0, Les/my;->f:Lcom/estrongs/android/ui/theme/b;

    const p2, 0x7f0602e1

    invoke-virtual {p1, p2}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result p1

    :cond_0
    const p2, 0x7f0600d4

    .line 20
    iput p2, p0, Les/py;->q:I

    .line 21
    :cond_1
    invoke-virtual {p0, p1}, Les/my;->b(I)V

    return-void
.end method

.method static synthetic a(Les/py;)Les/iz;
    .locals 0

    .line 1
    iget-object p0, p0, Les/py;->v:Les/iz;

    return-object p0
.end method

.method static synthetic a(Les/py;Z)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Les/py;->b(Z)V

    return-void
.end method

.method static synthetic b(Les/py;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Les/py;->k()V

    return-void
.end method

.method private b(Z)V
    .locals 2

    .line 13
    iget-boolean v0, p0, Les/py;->r:Z

    if-nez v0, :cond_0

    return-void

    :cond_0
    const/4 v0, 0x4

    .line 14
    iget-object v1, p0, Les/py;->m:Landroid/util/SparseArray;

    invoke-virtual {v1, v0}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Les/py$f;

    if-eqz p1, :cond_1

    .line 15
    iget-object p1, p0, Les/py;->u:Les/v00;

    invoke-virtual {p0, v1, p1, v0}, Les/py;->a(Les/py$f;Les/v00;I)V

    .line 16
    iget-object p1, p0, Les/my;->a:Ljava/util/List;

    iget-object v1, p0, Les/py;->u:Les/v00;

    invoke-interface {p1, v0, v1}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;

    goto :goto_0

    .line 17
    :cond_1
    iget-object p1, p0, Les/py;->t:Les/v00;

    invoke-virtual {p0, v1, p1, v0}, Les/py;->a(Les/py$f;Les/v00;I)V

    .line 18
    iget-object p1, p0, Les/my;->a:Ljava/util/List;

    iget-object v1, p0, Les/py;->t:Les/v00;

    invoke-interface {p1, v0, v1}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;

    :goto_0
    return-void
.end method

.method private f(I)V
    .locals 3

    const/4 v0, 0x5

    if-gt p1, v0, :cond_3

    .line 1
    iget v0, p0, Les/py;->o:I

    if-le v0, p1, :cond_0

    move v0, p1

    .line 2
    :goto_0
    iget v1, p0, Les/py;->o:I

    if-ge v0, v1, :cond_2

    .line 3
    iget-object v1, p0, Les/py;->m:Landroid/util/SparseArray;

    invoke-virtual {v1, v0}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Les/py$f;

    .line 4
    invoke-virtual {v1}, Les/py$f;->a()V

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_0
    :goto_1
    if-ge v0, p1, :cond_2

    .line 5
    iget-object v1, p0, Les/py;->m:Landroid/util/SparseArray;

    invoke-virtual {v1, v0}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Les/py$f;

    if-nez v1, :cond_1

    .line 6
    invoke-virtual {p0, v0}, Les/py;->c(I)Les/py$f;

    move-result-object v1

    .line 7
    iget-object v2, p0, Les/py;->m:Landroid/util/SparseArray;

    invoke-virtual {v2, v0, v1}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V

    goto :goto_2

    .line 8
    :cond_1
    invoke-virtual {v1}, Les/py$f;->b()V

    :goto_2
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    .line 9
    :cond_2
    iput p1, p0, Les/py;->o:I

    return-void

    .line 10
    :cond_3
    new-instance p1, Ljava/lang/IllegalStateException;

    const-string v0, "Can\'t show more than 5 items in the bottom toolbar!"

    invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    goto :goto_4

    :goto_3
    throw p1

    :goto_4
    goto :goto_3
.end method

.method private k()V
    .locals 3

    .line 1
    new-instance v0, Les/py$e;

    iget-object v1, p0, Les/my;->b:Landroid/content/Context;

    iget-boolean v2, p0, Les/my;->d:Z

    invoke-direct {v0, p0, v1, v2}, Les/py$e;-><init>(Les/py;Landroid/content/Context;Z)V

    iput-object v0, p0, Les/py;->v:Les/iz;

    const/4 v1, 0x0

    .line 2
    invoke-virtual {v0, v1}, Les/iz;->a(Z)V

    return-void
.end method

.method private l()V
    .locals 5

    .line 1
    iget-object v0, p0, Les/my;->a:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 2
    invoke-virtual {p0}, Les/py;->i()Ljava/util/Map;

    move-result-object v0

    if-eqz v0, :cond_4

    .line 3
    invoke-interface {v0}, Ljava/util/Map;->isEmpty()Z

    move-result v1

    if-nez v1, :cond_4

    const/4 v1, 0x0

    .line 4
    :goto_0
    iget-object v2, p0, Les/py;->n:[Ljava/lang/String;

    array-length v3, v2

    if-ge v1, v3, :cond_2

    .line 5
    aget-object v2, v2, v1

    const-string v3, "extra"

    .line 6
    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    .line 7
    iget-object v3, p0, Les/py;->t:Les/v00;

    const/4 v4, 0x1

    .line 8
    iput-boolean v4, p0, Les/py;->r:Z

    goto :goto_1

    .line 9
    :cond_0
    invoke-interface {v0, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Les/v00;

    :goto_1
    if-eqz v3, :cond_1

    .line 10
    iget-object v2, p0, Les/my;->a:Ljava/util/List;

    invoke-interface {v2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 11
    :cond_1
    new-instance v0, Ljava/lang/IllegalStateException;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "Can\'t find toolbar item : "

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 12
    :cond_2
    iget-boolean v0, p0, Les/py;->r:Z

    if-eqz v0, :cond_3

    .line 13
    iget-object v0, p0, Les/my;->a:Ljava/util/List;

    const/4 v1, 0x4

    iget-object v2, p0, Les/py;->t:Les/v00;

    invoke-interface {v0, v1, v2}, Ljava/util/List;->add(ILjava/lang/Object;)V

    :cond_3
    return-void

    .line 14
    :cond_4
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "MenuItemMap is not inited correctly!"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    goto :goto_3

    :goto_2
    throw v0

    :goto_3
    goto :goto_2
.end method


# virtual methods
.method public a()V
    .locals 1

    .line 44
    invoke-super {p0}, Les/my;->a()V

    .line 45
    iget-boolean v0, p0, Les/py;->r:Z

    if-eqz v0, :cond_0

    .line 46
    iget-object v0, p0, Les/py;->v:Les/iz;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Les/iz;->d()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 47
    iget-object v0, p0, Les/py;->v:Les/iz;

    invoke-virtual {v0}, Les/iz;->a()V

    :cond_0
    return-void
.end method

.method protected a(Les/py$f;Les/v00;I)V
    .locals 5

    .line 20
    iget-object p3, p1, Les/py$f;->b:Landroid/widget/TextView;

    .line 21
    invoke-virtual {p2}, Les/v00;->isEnabled()Z

    move-result v0

    .line 22
    invoke-virtual {p2}, Les/v00;->getIcon()Landroid/graphics/drawable/Drawable;

    move-result-object v1

    if-nez v1, :cond_0

    .line 23
    invoke-virtual {p2}, Les/v00;->d()I

    move-result v1

    invoke-virtual {p0, v1}, Les/py;->d(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    .line 24
    invoke-virtual {v1}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;

    .line 25
    invoke-virtual {p2, v1}, Les/v00;->setIcon(Landroid/graphics/drawable/Drawable;)Les/v00;

    .line 26
    :cond_0
    invoke-virtual {p2}, Les/v00;->j()I

    move-result v2

    if-eqz v2, :cond_1

    .line 27
    invoke-virtual {p2}, Les/v00;->j()I

    move-result v2

    invoke-static {v1, v2}, Les/fy;->a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    goto :goto_0

    .line 28
    :cond_1
    iget v2, p0, Les/my;->h:I

    if-eqz v2, :cond_2

    .line 29
    invoke-static {v1, v2}, Les/fy;->a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    .line 30
    :cond_2
    :goto_0
    iget-object v2, p0, Les/my;->b:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f0700c6

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v2

    const/4 v3, 0x0

    .line 31
    invoke-virtual {v1, v3, v3, v2, v2}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    .line 32
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v2

    invoke-virtual {v2}, Lcom/estrongs/android/pop/l;->n1()Z

    move-result v2

    const/4 v4, 0x0

    if-eqz v2, :cond_4

    .line 33
    invoke-virtual {p3, v4, v1, v4, v4}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    .line 34
    invoke-virtual {p2}, Les/v00;->getTitle()Ljava/lang/CharSequence;

    move-result-object v2

    if-nez v2, :cond_3

    .line 35
    invoke-virtual {p2}, Les/v00;->k()I

    move-result p2

    invoke-virtual {p3, p2}, Landroid/widget/TextView;->setText(I)V

    goto :goto_1

    .line 36
    :cond_3
    invoke-virtual {p3, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_1

    .line 37
    :cond_4
    invoke-virtual {p3, v3, v3, v3, v3}, Landroid/widget/TextView;->setPadding(IIII)V

    .line 38
    invoke-virtual {p3, v1, v4, v4, v4}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    const-string p2, ""

    .line 39
    invoke-virtual {p3, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_1
    if-eqz v0, :cond_5

    const/4 p2, 0x1

    .line 40
    invoke-virtual {p1, p2}, Les/py$f;->a(Z)V

    const/16 p1, 0xff

    .line 41
    invoke-virtual {v1, p1}, Landroid/graphics/drawable/Drawable;->setAlpha(I)V

    goto :goto_2

    .line 42
    :cond_5
    invoke-virtual {p1, v3}, Les/py$f;->a(Z)V

    const/16 p1, 0x78

    .line 43
    invoke-virtual {v1, p1}, Landroid/graphics/drawable/Drawable;->setAlpha(I)V

    :goto_2
    return-void
.end method

.method public varargs a(Z[Ljava/lang/String;)V
    .locals 7

    if-nez p2, :cond_0

    return-void

    :cond_0
    const/4 v0, 0x0

    const/4 v1, 0x0

    .line 4
    :goto_0
    array-length v2, p2

    if-ge v1, v2, :cond_a

    .line 5
    aget-object v2, p2, v1

    const/4 v3, 0x0

    .line 6
    :goto_1
    iget-object v4, p0, Les/py;->n:[Ljava/lang/String;

    array-length v5, v4

    const/4 v6, -0x1

    if-ge v3, v5, :cond_2

    .line 7
    aget-object v4, v4, v3

    invoke-virtual {v4, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_1

    goto :goto_2

    :cond_1
    add-int/lit8 v3, v3, 0x1

    goto :goto_1

    :cond_2
    const/4 v3, -0x1

    :goto_2
    const/4 v4, 0x4

    const-string v5, "extra"

    if-ne v3, v6, :cond_4

    .line 8
    invoke-virtual {v5, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_3

    const/4 v3, 0x4

    goto :goto_3

    .line 9
    :cond_3
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "Only menuItems that are shown can be disabled:"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    const-string v3, "ESMenu"

    invoke-static {v3, v2}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_6

    .line 10
    :cond_4
    :goto_3
    iget-boolean v6, p0, Les/py;->r:Z

    if-eqz v6, :cond_5

    if-ne v3, v4, :cond_5

    invoke-virtual {v5, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_5

    goto :goto_6

    .line 11
    :cond_5
    iget-object v2, p0, Les/py;->m:Landroid/util/SparseArray;

    invoke-virtual {v2, v3}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Les/py$f;

    if-eqz p1, :cond_7

    const/4 v3, 0x1

    .line 12
    invoke-virtual {v2, v3}, Les/py$f;->a(Z)V

    .line 13
    iget-object v2, v2, Les/py$f;->b:Landroid/widget/TextView;

    invoke-virtual {v2}, Landroid/widget/TextView;->getCompoundDrawables()[Landroid/graphics/drawable/Drawable;

    move-result-object v2

    .line 14
    array-length v3, v2

    const/4 v4, 0x0

    :goto_4
    if-ge v4, v3, :cond_9

    aget-object v5, v2, v4

    if-eqz v5, :cond_6

    const/16 v6, 0xff

    .line 15
    invoke-virtual {v5, v6}, Landroid/graphics/drawable/Drawable;->setAlpha(I)V

    :cond_6
    add-int/lit8 v4, v4, 0x1

    goto :goto_4

    .line 16
    :cond_7
    invoke-virtual {v2, v0}, Les/py$f;->a(Z)V

    .line 17
    iget-object v2, v2, Les/py$f;->b:Landroid/widget/TextView;

    invoke-virtual {v2}, Landroid/widget/TextView;->getCompoundDrawables()[Landroid/graphics/drawable/Drawable;

    move-result-object v2

    .line 18
    array-length v3, v2

    const/4 v4, 0x0

    :goto_5
    if-ge v4, v3, :cond_9

    aget-object v5, v2, v4

    if-eqz v5, :cond_8

    const/16 v6, 0x78

    .line 19
    invoke-virtual {v5, v6}, Landroid/graphics/drawable/Drawable;->setAlpha(I)V

    :cond_8
    add-int/lit8 v4, v4, 0x1

    goto :goto_5

    :cond_9
    :goto_6
    add-int/lit8 v1, v1, 0x1

    goto/16 :goto_0

    :cond_a
    return-void
.end method

.method public varargs a([Ljava/lang/String;)V
    .locals 1

    const/4 v0, 0x0

    .line 3
    invoke-virtual {p0, v0, p1}, Les/py;->a(Z[Ljava/lang/String;)V

    return-void
.end method

.method protected b([Ljava/lang/String;)V
    .locals 2

    if-eqz p1, :cond_3

    .line 2
    iput-object p1, p0, Les/py;->n:[Ljava/lang/String;

    .line 3
    array-length p1, p1

    const/4 v0, 0x0

    const/4 v1, 0x5

    if-le p1, v1, :cond_0

    const/4 p1, 0x1

    .line 4
    iput-boolean p1, p0, Les/py;->r:Z

    const/4 p1, 0x5

    goto :goto_0

    .line 5
    :cond_0
    iput-boolean v0, p0, Les/py;->r:Z

    .line 6
    :goto_0
    iget v1, p0, Les/py;->o:I

    if-eq v1, p1, :cond_1

    .line 7
    invoke-direct {p0, p1}, Les/py;->f(I)V

    .line 8
    :cond_1
    invoke-direct {p0}, Les/py;->l()V

    .line 9
    :goto_1
    iget p1, p0, Les/py;->o:I

    if-ge v0, p1, :cond_2

    .line 10
    iget-object p1, p0, Les/py;->m:Landroid/util/SparseArray;

    invoke-virtual {p1, v0}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Les/py$f;

    .line 11
    invoke-virtual {p0, v0}, Les/my;->a(I)Les/v00;

    move-result-object v1

    invoke-virtual {p0, p1, v1, v0}, Les/py;->a(Les/py$f;Les/v00;I)V

    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    :cond_2
    return-void

    .line 12
    :cond_3
    new-instance p1, Ljava/lang/NullPointerException;

    const-string v0, "MenuSet has not inited!"

    invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V

    goto :goto_3

    :goto_2
    throw p1

    :goto_3
    goto :goto_2
.end method

.method protected c(I)Les/py$f;
    .locals 5

    .line 1
    iget-object v0, p0, Les/my;->b:Landroid/content/Context;

    invoke-static {v0}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f0c0265

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    const v1, 0x7f0901cd

    .line 2
    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    const/4 v2, 0x0

    .line 3
    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setClickable(Z)V

    .line 4
    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v4, -0x1

    invoke-direct {v3, v2, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 5
    invoke-virtual {v1}, Landroid/widget/TextView;->setSingleLine()V

    const/high16 v2, 0x3f800000    # 1.0f

    .line 6
    iput v2, v3, Landroid/widget/LinearLayout$LayoutParams;->weight:F

    .line 7
    iget-object v2, p0, Les/my;->c:Landroid/view/ViewGroup;

    invoke-virtual {v2, v0, p1, v3}, Landroid/view/ViewGroup;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

    .line 8
    new-instance v2, Les/py$f;

    invoke-direct {v2, p0}, Les/py$f;-><init>(Les/py;)V

    .line 9
    iput-object v0, v2, Les/py$f;->a:Landroid/view/View;

    .line 10
    iput-object v1, v2, Les/py$f;->b:Landroid/widget/TextView;

    .line 11
    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    .line 12
    iget-object p1, v2, Les/py$f;->a:Landroid/view/View;

    iget-object v0, p0, Les/py;->w:Landroid/view/View$OnClickListener;

    invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 13
    iget-object p1, v2, Les/py$f;->a:Landroid/view/View;

    iget-object v0, p0, Les/py;->x:Landroid/view/View$OnLongClickListener;

    invoke-virtual {p1, v0}, Landroid/view/View;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V

    .line 14
    iget-object p1, v2, Les/py$f;->a:Landroid/view/View;

    const/4 v0, 0x1

    invoke-virtual {p1, v0}, Landroid/view/View;->setFocusable(Z)V

    .line 15
    iget p1, p0, Les/py;->q:I

    if-eq p1, v4, :cond_0

    .line 16
    iget-object p1, v2, Les/py$f;->b:Landroid/widget/TextView;

    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v0

    iget v1, p0, Les/py;->q:I

    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v0

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setTextColor(I)V

    :cond_0
    return-object v2
.end method

.method protected d(I)Landroid/graphics/drawable/Drawable;
    .locals 1

    .line 1
    iget-object v0, p0, Les/my;->f:Lcom/estrongs/android/ui/theme/b;

    invoke-virtual {v0, p1}, Lcom/estrongs/android/ui/theme/b;->b(I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    return-object p1
.end method

.method public e(I)V
    .locals 0

    .line 1
    iput p1, p0, Les/py;->q:I

    return-void
.end method

.method public f()Z
    .locals 1

    .line 11
    invoke-super {p0}, Les/my;->f()Z

    move-result v0

    return v0
.end method

.method public g()Z
    .locals 2

    .line 1
    iget-boolean v0, p0, Les/py;->r:Z

    if-eqz v0, :cond_1

    .line 2
    iget-object v0, p0, Les/py;->m:Landroid/util/SparseArray;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Les/py$f;

    if-eqz v0, :cond_0

    .line 3
    iget-object v0, v0, Les/py$f;->a:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->isEnabled()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 4
    iget-object v0, p0, Les/py;->t:Les/v00;

    invoke-virtual {v0}, Les/v00;->l()V

    :cond_0
    const/4 v0, 0x1

    return v0

    .line 5
    :cond_1
    invoke-super {p0}, Les/my;->g()Z

    move-result v0

    return v0
.end method

.method protected abstract h()V
.end method

.method protected abstract i()Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Les/v00;",
            ">;"
        }
    .end annotation
.end method

.method public j()V
    .locals 1

    .line 1
    iget-boolean v0, p0, Les/py;->r:Z

    if-eqz v0, :cond_1

    .line 2
    iget-object v0, p0, Les/py;->v:Les/iz;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Les/iz;->d()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 3
    iget-object v0, p0, Les/py;->v:Les/iz;

    invoke-virtual {v0}, Les/iz;->a()V

    :cond_0
    const/4 v0, 0x0

    .line 4
    invoke-direct {p0, v0}, Les/py;->b(Z)V

    :cond_1
    return-void
.end method
